package com.cn.wkditui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;



/**
 * Created by wyd on 2016/3/16.
 */
public class RigsterSuccessActivity  extends  BaseActivity{
    private Button bt
            ;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_regists);
        init();
    }

    private void init() {
        bt  = (Button) findViewById(R.id.btback);
        bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(RigsterSuccessActivity.this,MainActivity.class);
                intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
                startActivity(intent);
            }
        });
    }
}
